Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(v4.1): Collapse admin nav on small windows #5990

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Dec 3, 2024

It is not clear to me why this only fails on some builds, but not others. However, Capybara/Selenium give us a screen size of 800, and a really large browser window of 1920. Let's check for the browser size instead of the screen size, as I've not found a good way of fixing the screen of a Selenium/Capybara session.

@mamhoff mamhoff requested a review from a team as a code owner December 3, 2024 13:33
@github-actions github-actions bot added the changelog:solidus_backend Changes to the solidus_backend gem label Dec 3, 2024
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes much more sense to me. Is this an issue in later versions as well?

It is not clear to me why this only fails on some builds, but not
others. However, Capybara/Selenium give us a screen size of 800, and a
really large browser window of 1920. Let's check for the browser size
instead of the screen size, as I've not found a good way of fixing the
screen of a Selenium/Capybara session.
@tvdeyen tvdeyen merged commit 8dacd47 into solidusio:v4.1 Dec 3, 2024
2 checks passed
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.74%. Comparing base (042193c) to head (d68301c).
Report is 28 commits behind head on v4.1.

Additional details and impacted files
@@           Coverage Diff           @@
##             v4.1    #5990   +/-   ##
=======================================
  Coverage   88.74%   88.74%           
=======================================
  Files         563      563           
  Lines       13883    13883           
=======================================
  Hits        12320    12320           
  Misses       1563     1563           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants